﻿using JinYuan.Models.HelperAttribute;
using SqlSugar;

namespace JinYuan.Models
{
    /// <summary>
    /// 钢壳码消息
    /// </summary>
    public class CGearEntity
    {
        [SugarColumn(IsIgnore = true)] //不存储到数据库
        [DataGridViewColumn(Name = "GKChannel")]
        public string ChannelNo { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        [DataGridViewColumn(Name = "GKTestTime")]
        public string TestTime { get; set; }
        /// <summary>
        /// 钢壳码
        /// </summary>
        [DataGridViewColumn(Name = "GKBarCode")]
        public string BarCode { get; set; }
        /// <summary>
        /// 钢壳托杯码
        /// </summary>
        public string RFID { set; get; }
        /// <summary>
        /// 结果
        /// </summary>
        [DataGridViewColumn(Name = "GKResult")]
        public string Result { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataGridViewColumn(Name = "GKRemark")]
        public string Remark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Flag { get; set; }

    }
}
